echo "> Disable verity"
adb wait-for-device
adb root
adb wait-for-device
adb disable-verity
echo "> Rebooting"
adb reboot
sleep 10
adb wait-for-device
echo "> Reboot complete"
sleep 10
adb wait-for-device
adb root 
adb remount
adb push ./dep/libpagemap.so /system/lib64
adb push ./dep/procrank /system/bin
adb shell chmod 777 /system/bin/procrank
echo -e "\e[1;42m > Install complete \e[0m"

